import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        if (num % 400 == 0 || num % 100 != 0 && num % 4 == 0) {
            System.out.println("闰年1");
        } else {
            System.out.println("不是");
        }
    }
    public static void main3(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double journey = scanner.nextDouble()
        double don = scanner.nextDouble()
        if (journey >= 1000) {
            System.out.println(don * 0.6);
        } else if (journey >= 500 && journey < 1000){
            System.out.println(don * 0.7);
        } else if (journey >= 300 && journey < 500){
            System.out.println(don * 0.8);
        } else if (journey >= 100 && journey < 300) {
            System.out.println(don * 0.9);
        } else if (journey < 100) {
            System.out.println(don * 1);
        }
    }

    public static void main2(String[] args) {
        Scanner sc = new Scanner(System.in);
        double a = sc.nextDouble();
        double b = sc.nextDouble();
        System.out.println(Math.sqrt(Math.pow(a,2) + Math.pow(b,2)));
    }
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        if (num > 90) {
            System.out.println("A");
        } else {
            System.out.println("其他");
        }
    }
}
